package com.cloud.api.domain.stats;

import com.cloud.mybatis.domain.PageModelNew;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

@Data
@Schema(description = "查询区域分布")
public class QueryAreal extends PageModelNew {

    @Schema(description = "关键字")
    private String keywords;

    @Schema(description = "省份")
    private String province;

    @Schema(description = "城市")
    private String city;

    @Schema(description = "组织机构")
    private String deptId;

    @Schema(description = "车型id")
    private String modelId;

    @Schema(description = "开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date startTime;

    @Schema(description = "结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date endTime;

    @Schema(description = "天数",hidden = true)
    private int day;

    @Schema(description = "多个组织机构")
    private List<String> deptIds;

    @Schema(description = "多个车型")
    private List<String> modelIds;

    @Schema(description = "doris映射名称",hidden = true)
    private String dataSource;

    @Schema(description = "数据权限",hidden = true)
    private Integer dataScope;
}
